package com.hyt.it.ogt.kq.service.bm.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hyt.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 订单实体
 * 
 * @author wangt
 * @Description:
 * @date: 2020年8月31日 上午11:00:01
 * @version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bm_order")
@ApiModel(value = "order对象", description = "订单")
public class Order extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "订单总额单位,元")
	private Double orderPrice;

	@ApiModelProperty(value = "发起第三方支付的订单的供应商 SHOU_YI_XIN(首易信);VISA:visa")
	private String orderPaySupplier;

	@ApiModelProperty(value = "订单状态：\r\n" + "0:未支付：考生发起支付，未付款 \r\n" + "1:已付款：第三方回调结果成功\r\n" + "2:部分退款\r\n"
			+ "3:支付失败：第三方返回失败原因")
	private String payStatus;

	@ApiModelProperty(value = "订单的支付类型:SHOU_YI_XIN_WEI_XIN 首易信微信支付 SHOU_YI_XIN_PC电脑端 VISA_WEI_XIN VISA_PC")
	private String orderType;

	@ApiModelProperty(value = "支付时间")
	private String orderTime;

	@ApiModelProperty(value = "用户ID")
	private String regId;
	
	@ApiModelProperty(value = "考生ID")
    private String studentId;

	@ApiModelProperty(value = "考试任务id")
	private String bmProjectId;
	
	@ApiModelProperty(value = "支付收银台地址")
	private String orderPayUrl;
	
	@ApiModelProperty(value = "发票状态 0:未开具, 1:已开具")
	private String invoiceStatus;
	
	
	

}
